package org.oc.qaq.config;

import lombok.Getter;
import lombok.Setter;
import org.oc.qaq.entity.onlyOffice.Customization;
import org.oc.qaq.entity.onlyOffice.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Getter
@Component
public class EditorConfig {
    @Autowired
    private Customization customization;

    @Value("${qaq.only-office.callback-url}")
    private String callbackUrl;

    @Value("${qaq.only-office.lang}")
    private String lang;

    @Setter
    private UserInfo user;
}
